Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Hot Spot Selectors

The enableFlag parameter passed to the function QTVREnableHotSpot indicates the method you want to use to select one or more hot spots for enabling or disabling. These constants define the available hot spot selectors:

enum {
    kQTVRHotSpotID                                  = 0,
    kQTVRHotSpotType                                = 1,
    kQTVRAllHotSpots                                = 2
};

Constant descriptions

kQTVRHotSpotID
Select a single hot spot by its hot spot ID (specified by the hotSpotValue parameter).
kQTVRHotSpotType
Select all hot spots of a hot spot type (specified by the hotSpotValue parameter).
kQTVRAllHotSpots
Select all hot spots in the current node.

These hot spot selectors are not masks. So, for example, if you want to enable only hot spots of a certain type, you must first disable all hot spots (using the kQTVRAllHotSpots selector) and then enable the desired type of hot spots (using the kQTVRHotSpotType selector).


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |